﻿package idv.cjcat.emitter {
	use namespace engine;
	
	import flash.display.*;
	
	import idv.cjcat.emitter.behaviors.*;
	import idv.cjcat.emitter.deflectors.*;
	import idv.cjcat.emitter.fields.*;
	
	/** @private */
	public class ParticleData {
		
		//particle object
		public var particle:DisplayObject;
		public var particleClass:Particle;
		
		//emitter
		public var emitter:Emitter;
		
		//motion data
		public var cx:Number;
		public var cy:Number;
		public var vx:Number;
		public var vy:Number;
		public var spin:Number;
		public var oriented:Boolean;
		public var orientationOffset:Number;
		public var velocityField:Field;
		public var damping:Number;
		public var mass:Number;
		
		//life data
		public var totalLife:Number;
		public var life:Number;
		
		//decay data
		public var scale:Number;
		public var initScale:Number;
		public var finalScale:Number;
		public var scaleGrowRange:Number;
		public var scaleDecayRange:Number;
		public var alpha:Number;
		public var initAlpha:Number;
		public var finalAlpha:Number;
		public var alphaGrowRange:Number;
		public var alphaDecayRange:Number;
		
		//bubble motion data
		public var bubbleMotion:Boolean;
		public var bubbleOriented:Boolean;
		public var bubbleAmplitude:Number;
		public var bubbleFrequency:Number;
		public var bubblePhase:Number;
	}
}